package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 关系信息对象 ar_table_relation
 * 
 * @author ruoyi_ln
 * @date 2022-03-01
 */
public class ArTableRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String recNo;

    /** 分类编号 */
    @Excel(name = "分类编号")
    private String sortNo;

    /** 表关系名称 */
    @Excel(name = "表关系名称")
    private String relationName;

    /** 父表编号 */
    @Excel(name = "父表编号")
    private String parentNo;

    /** 子表编号 */
    @Excel(name = "子表编号")
    private String childNo;

    /** 删除标志(0代表存在 2代表删除) */
    private String delFlag;

    private ArTableFiledRelation arTableFiledRelation;

    public ArTableFiledRelation getArTableFiledRelation() {
        return arTableFiledRelation;
    }

    public void setArTableFiledRelation(ArTableFiledRelation arTableFiledRelation) {
        this.arTableFiledRelation = arTableFiledRelation;
    }

    public void setRecNo(String recNo)
    {
        this.recNo = recNo;
    }

    public String getRecNo() 
    {
        return recNo;
    }
    public void setSortNo(String sortNo) 
    {
        this.sortNo = sortNo;
    }

    public String getSortNo() 
    {
        return sortNo;
    }
    public void setRelationName(String relationName) 
    {
        this.relationName = relationName;
    }

    public String getRelationName() 
    {
        return relationName;
    }
    public void setParentNo(String parentNo) 
    {
        this.parentNo = parentNo;
    }

    public String getParentNo() 
    {
        return parentNo;
    }
    public void setChildNo(String childNo) 
    {
        this.childNo = childNo;
    }

    public String getChildNo() 
    {
        return childNo;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recNo", getRecNo())
            .append("sortNo", getSortNo())
            .append("relationName", getRelationName())
            .append("parentNo", getParentNo())
            .append("childNo", getChildNo())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
